package com.zzyl.nursing.domain.member;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FamilyMemberElder {
    private Long id; // 主键ID
    @TableField(fill = FieldFill.INSERT)
    private Long createBy; // 创建人ID
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime; // 创建时间
    private Long elderId; // 老人ID
    private Long familyMemberId; // 家属ID
    private String remark; // 备注
    @TableField(fill = FieldFill.UPDATE)
    private Long updateBy; // 更新人ID
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime; // 更新时间

}